package com.jybd.live.service.impl;

import com.jybd.live.dao.CameraDao;
import com.jybd.live.model.Camera;
import com.jybd.live.service.CameraService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CameraServiceImpl implements CameraService {

    @Autowired
    private CameraDao cameraDao;


    public List<Camera> getAll(){
        return  cameraDao.getAll();
    }
}
